home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Communication / NewsBase / Source / common.subproj / IReceiveSpeaker.m < prev    next >
Text File  |  1993-01-12  |  1KB  |  51 lines

  1. #import <appkit/appkit.h>
  2. #import "IReceiveSpeaker.h"
  3. #import <mach/mach.h>
  4. #import <mach/message.h>
  5. #import <servers/netname.h>
  6. extern port_t name_server_port;
  7. extern id NXResponsibleDelegate();
  8. @implementation  IReceiveSpeaker :Speaker
  9. {}
  10. -(int)receiveArticle : (char *) data
  11.     length : (int) length
  12. /* */
  13. {
  14. return [self selectorRPC:"receiveArticle:length:"
  15.     paramTypes:"ci",
  16.         data,
  17.         length];
  18. }
  19. -(int)sendArticleWithMessageID : (char *) messageID
  20. /* */
  21. {
  22. return [self selectorRPC:"sendArticleWithMessageID:"
  23.     paramTypes:"c",
  24.         messageID];
  25. }
  26. -(int)makeMimeIconWindowAtpointX : (int) x
  27.     pointY : (int) y
  28.     offsetX : (int) offx
  29.     offsetY : (int) offy
  30.     sourceWindow : (int) wnum
  31. /* */
  32. {
  33. return [self selectorRPC:"makeMimeIconWindowAtpointX:pointY:offsetX:offsetY:sourceWindow:"
  34.     paramTypes:"iiiii",
  35.         x,
  36.         y,
  37.         offx,
  38.         offy,
  39.         wnum];
  40. }
  41. -(int)requestForPost : (char *) newsgroups
  42.     sourceWindow : (int) wnum
  43. /* */
  44. {
  45. return [self selectorRPC:"requestForPost:sourceWindow:"
  46.     paramTypes:"ci",
  47.         newsgroups,
  48.         wnum];
  49. }
  50. @end
  51.